package com.study.manage.domain;

import javax.persistence.Entity;
import javax.persistence.Table;

import com.study.manage.domain.enumm.ItemType;
import com.study.manage.domain.enumm.OrderState;
import com.study.manage.domain.enumm.TradeType;

@Entity
@Table(name = "sa_order")
public class Order extends AbstractEntity {

    private static final long serialVersionUID = 2617238680505950417L;

    public String itemName;
    public ItemType itemType;
    public Long itemId;
    public Integer itemCount;
    public String itemPrice;
    public String total;
    public Long userId;
    public OrderState state = OrderState.UNPAID;
    public String description;
    public String outTradeNo;
    public TradeType tradeType;
    public String tradeNo;
    public String tradeStatus;
}
